﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class CdrPathMdeOpDispense
    {
        public string Id { get; set; } = null!;
        public string? HospitalCode { get; set; }
        public string VisitNumber { get; set; } = null!;
        public string PatientId { get; set; } = null!;
        public string? PatientName { get; set; }
        public string PatientSexCode { get; set; } = null!;
        public string PatientSexName { get; set; } = null!;
        public decimal? Patientage { get; set; }
        public DateTime PatientDob { get; set; }
        public string? ClinicalDiagInfo { get; set; }
        public string PrescriptionNo { get; set; } = null!;
        public string DeptCode { get; set; } = null!;
        public string DeptName { get; set; } = null!;
        public string ServiceUnitCode { get; set; } = null!;
        public string? ServiceUnitName { get; set; }
        public string DoctorCode { get; set; } = null!;
        public string? DoctorName { get; set; }
        public string DoctorDeptCode { get; set; } = null!;
        public string DoctorDeptName { get; set; } = null!;
        public DateTime PrescribeDate { get; set; }
        public string PharmacyCode { get; set; } = null!;
        public string? PharmacyName { get; set; }
        public string DispenserCode { get; set; } = null!;
        public string DispenserName { get; set; } = null!;
        public DateTime DispenseDateTime { get; set; }
        public DateTime DeliverDateTime { get; set; }
        public string DeliverCode { get; set; } = null!;
        public string DeliverName { get; set; } = null!;
        public string DeliveryWindowCode { get; set; } = null!;
        public string DeliveryWindowName { get; set; } = null!;
        public string? IsEmergency { get; set; }
        public string DataEnterCode { get; set; } = null!;
        public string DataEnterName { get; set; } = null!;
        public DateTime DataEnterDateTime { get; set; }
        public string? StatusCode { get; set; }
        public string? StatusName { get; set; }
        public short? IsDeleted { get; set; }
        public DateTime? FirstInsertDateTime { get; set; }
        public DateTime? LastUpdateDateTime { get; set; }
    }
}
